/**
 * Package Name:com.gdtnx.dubbo.system.service
 * Date:2017年8月16日 下午4:18:03
 * Copyright (c) 2017 mr.luoxing@gmail.com Rights Reserved.
 *
 */

package com.gdtnx.dubbo.system.service;

import javax.annotation.Resource;

import com.gdtnx.dubbo.system.api.user.domain.User;
import com.gdtnx.dubbo.system.api.user.service.IUserService;
import com.gdtnx.dubbo.system.mapper.UserMapper;

/**
 * @ClassName: UserService.<br/>
 * @Description: TODO(...).<br/>
 *
 * @author Mr.Luoxing
 * @version 1.0.0
 */
@com.alibaba.dubbo.config.annotation.Service(version = "1.0.0")
public class UserService implements IUserService{

	@Resource
	UserMapper mapper;
	
	/**
	 * TODO (保存实体).
	 * @see com.gdtnx.dubbo.system.api.user.service.IUserService#save(com.gdtnx.dubbo.system.api.user.domain.User)
	 */
	@Override
	public boolean save(User user) {
		return mapper.save(user);
	}

}

